package com.ly.common.core.tool.desensitization.annotation;

import com.ly.common.core.tool.desensitization.enums.SensitiveEnum;

import java.lang.annotation.*;

/**
 * 敏感信息注解-字段
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
@Deprecated
public @interface SensitiveField {

    /**
     * 不同类型处理不同
     *
     * @return
     */
    SensitiveEnum type() default SensitiveEnum.ENCODE;
}
